package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 租赁套餐订单表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_rent_order")
@ApiModel(value = "XhRentOrder对象", description = "租赁套餐订单表")
public class XhRentOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty("关联门店ID")
    private Integer shopId;

    @ApiModelProperty("业务类型 1.线上支付 2.先享服务")
    private Integer businessType;

    @ApiModelProperty("租赁套餐ID")
    private Integer comboId;

    @ApiModelProperty("先享服务ID")
    private Integer advanceId;

    @ApiModelProperty("会员ID")
    private Integer memberId;

    @ApiModelProperty("套餐标题")
    private String comboName;

    @ApiModelProperty("套餐图片")
    private String comboImage;

    @ApiModelProperty("关联电池型号")
    private Integer batteryInfoId;

    @ApiModelProperty("电池数量")
    private Integer batteryNumber;

    @ApiModelProperty("周期数")
    private Integer cycles;

    @ApiModelProperty("租赁天数")
    private Integer days;

    @ApiModelProperty("原价")
    private BigDecimal originalPrice;

    @ApiModelProperty("优惠券ID")
    private Integer couponId;

    @ApiModelProperty("优惠金额")
    private BigDecimal couponMoney;

    @ApiModelProperty("店铺满减ID")
    private Integer discountId;

    @ApiModelProperty("店铺满减金额")
    private BigDecimal discountMoney;

    @ApiModelProperty("订单金额")
    private BigDecimal money;

    @ApiModelProperty("购买类型 1.新购 2.续费")
    private Integer buyType;

    @ApiModelProperty("订单电池信息")
    private String items;

    @ApiModelProperty("订单状态 1.待支付2.已支付 3.已取消 4.已过期 5.安装处理 6.备货中 7.订单完成 8.已退款")
    private Integer status;

    @ApiModelProperty("关联快递信息")
    private Integer expressId;

    @ApiModelProperty("退款原因")
    private String returnReason;

    @ApiModelProperty("订单创建时间")
    private Date createTime;

}
